package com.hitqz.robot.biz.flow.component.protocol2;//package com.hitqz.robot.flow.component.protocol2;
//
//import cn.hutool.json.JSONObject;
//import com.hitqz.robot.flow.domain.constant.FlowConstant;
//import com.yomahub.liteflow.annotation.LiteflowComponent;
//import com.yomahub.liteflow.core.NodeComponent;
//import lombok.extern.slf4j.Slf4j;
//
///**
// * 步骤组件 切换导航模式
// *
// * @author wengyx
// * @date 2023/08/22
// */
//@LiteflowComponent(value = "switchNav",name = "[室内外一体化]切换导航模式")
//@Slf4j
//public class SwitchNav extends NodeComponent {
//    @Override
//    public void process() throws Exception {
//        //通过规则中的.data()获取参数
//        String key = FlowConstant.NODE_CUSTOM_INFO_MAP.get(this.getNodeId()).getParamNames().get(0);
//        Integer cmd = this.getCmpData(JSONObject.class).get(key, Integer.class);
//        log.info("切换导航模式:{}",cmd);
//    }
//}
